package Decorator;

public class Client {
	
	public static void main(String[] args) {
		Component component = new ConcreteComponent();
		
		Component com1 = new ConcreteDecoratorA(component);
		
		Component com2 = new ConcreteDecoratorB(com1);
		
		com2.sampleOperation();
	}
}
